<#macro menudata menu>
    {"title":"${menu.cModelName}","selected":<#if menu.selected>true<#else>false</#if >,"expanded":"true","key":"${menu.cModelID}"<#if menu.children?exists>,"folder":true,"children":[<#list menu.children as childMenu><@menudata menu=childMenu/><#if childMenu_has_next>,</#if></#list>]</#if>}
</#macro>

<#--,"data":{"code":"${menu.code}","memo":"${menu.memo}","url":"${menu.url}"}-->

[<#list menus as topMenu>
<@menudata menu=topMenu/><#if topMenu_has_next>,</#if>
</#list>]
